// 导出所有路由模块
const auth = require('./auth');
const users = require('./users');
const menu = require('./menu');
const orders = require('./orders');
const coupons = require('./coupons');
const admin = require('./admin');
const clientOrders = require('./clientOrders');
const reports = require('./reports');
const menuImport = require('./menuImport');
const couponImport = require('./couponImportRoutes');
const socialMedia = require('./socialMedia');
const invites = require('./invites');

// 客户端路由别名
const clientAuth = auth;
const clientMenu = menu;
const clientUser = users;
const clientCoupons = coupons;

// 管理员路由别名
const adminMenu = admin;
const dashboard = admin;
const system = admin;

module.exports = {
  auth,
  users,
  menu,
  orders,
  coupons,
  admin,
  adminMenu,
  clientAuth,
  clientMenu,
  clientOrders,
  clientUser,
  clientCoupons,
  dashboard,
  system,
  reports,
  menuImport,
  couponImport,
  socialMedia,
  invites
};